package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 t_sales
 * @date 2021-03-24
 */
@Data
public class TSales extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long salesId;

    /** 售房编号 */
    @Excel(name = "售房编号")
    private Long salesNum;

    /** 销售人员编号 */
    @Excel(name = "销售人员")
    private String salesPersonNum;

    /** 房间号 */
    @Excel(name = "房间号")
    private Long roomNum;

    @Excel(name = "是否交付" ,readConverterExp = "0=已交,1=未交")
    private Integer flag;

    /** 价格 */
    @Excel(name = "价格")
    private String salesPeice;

    /** 房型 */
    @Excel(name = "房型",readConverterExp="0=一居室,1=二居室,2=三居室")
    private String salesApartment;

    /** 预付款 */
    @Excel(name = "预付款")
    private String salesAdvanceCharge;

    /** 成交价 */
    @Excel(name = "成交价（万元）")
    private BigDecimal salesTransactionPrice;

    /** 购房人 */
    @Excel(name = "购房人")
    private String purchaseName;

    /** 出售日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date salesDate;


}